home *** CD-ROM | disk | FTP | other *** search
- Path: warp10.smartlink.net!thomash
- From: thomash@warp10.smartlink.net (Thomas Hackbarth)
- Newsgroups: comp.lang.c++
- Subject: C code in a C++ app
- Date: 1 Mar 1996 22:18:43 GMT
- Organization: SmartLink.net Premier ISP 805-294-1273
- Message-ID: <4h7t43$6as@frodo.smartlink.net>
- NNTP-Posting-Host: smartlink.net
- X-Newsreader: TIN [version 1.2 PL2]
-
- I'm working on porting a C app. from MAC to the PC. The app is basicly C
- and I'm replacing the UI for the PC side. I need to compile and link C
- code into my MFC application. I get errors basicly saying I can't compile
- C code with CPP, OK I renamed the file to CPP then I need to add #include
- <stdafx.h>. I would rather not change any of the C files at all. They
- need to stay multiplatform as well as multi-compiler.
-
- Does anyone know how to build a MCF app with C code, with out changing
- the C code.
-
- Thanks
- Thomas
-
-